<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><{:C('site_name')}></title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">

<script type="text/javascript" src="<{:STATICS}>/js/jquery.min.js"></script>
<script type="text/javascript" src="<{:STATICS}>/js/jquery.form.min.js"></script>
<script type="text/javascript" src="<{:STATICS}>/layui/lay/dest/layui.all.js"></script>
<script type="text/javascript" src="<{:STATICS}>/js/regExp.js"></script>
<script type="text/javascript" src="<{:RES}>/js/common.js"></script>

<link rel="stylesheet" href="<{:STATICS}>/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="<{:STATICS}>/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="<{:RES}>/css/global.css" media="all">
</head>
<body>
<div class="iframeBox">	
	<form id="ajaxForm" class="layui-form" method="post" action="<{:U('Question/edit')}>">
		<div class="layui-form-item">
			<label class="layui-form-label">选项名称</label>
			<div class="layui-input-block">
				<input type="text" name="name" lay-verify="required" value="<{$list.name}>" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">初始票数</label>
			<div class="layui-input-inline">
				<input type="text" name="poll" value="<{$list.poll}>" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">排序</label>
			<div class="layui-input-inline">
				<input type="text" name="sort" id="sort" value="<{$list.sort}>" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-input-block">
				<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
				<button type="button" class="layui-btn layui-btn-primary" onclick="window.history.go(-1)">返回</button>
			</div>
		</div>
		<input type="hidden" name="id" value="<{$list.id}>">
		<input type="hidden" name="sid" value="<{$list.sid}>">
	</form>
</div>

</body>
</html>